﻿using System;

class BankAccount
{
    static void Main()
    {
        //Exercise 14. A bank account has a holder name (first name, middle name and last name), available amount of money (balance), 
        //bank name, IBAN, BIC code and 3 credit card numbers associated with the account. Declare the variables needed to keep 
        //the information for a single bank account using the appropriate data types and descriptive names.

        Console.Write("Please enter the first name:");
        string Firstname = Console.ReadLine();
        Console.Write("Please enter the middle name:");
        string Middlename = Console.ReadLine();
        Console.Write("Please enter the last name:");
        string Lastname = Console.ReadLine();
        Console.Write("Please enter the balance:");
        double Balance = double.Parse(Console.ReadLine());    // it's double to include the negative (debit) balance, as well.
        Console.Write("Please enter bank name:");
        string Bankname = Console.ReadLine();       
        Console.Write("Please enter IBAN number:");
        string Iban = Console.ReadLine();
        Console.Write("Please enter the BIC code:");
        string Biccode = Console.ReadLine();
        Console.Write("Please enter the first credit card number:");
        ulong Creditcard1 = ulong.Parse(Console.ReadLine());
        Console.Write("Please enter the second credit card number:");
        ulong Creditcard2 = ulong.Parse(Console.ReadLine());
        Console.Write("Please enter the third credit card number:");
        ulong Creditcard3 = ulong.Parse(Console.ReadLine());

        Console.WriteLine("Respectively, {0}, {1}, {2}, {3}, {4}, {5} are string type.", Firstname, Middlename, Lastname, Bankname,Iban, Biccode);
        Console.WriteLine("{0} is double type.", Balance);
        Console.WriteLine("{0}, {1}, {2} are ulong type.", Creditcard1,Creditcard2, Creditcard3);
    }
}

